package com.da.user.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.da.ticket.service.TicketService;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Reference
    private TicketService ticketService;

    public void hello() {
        System.out.println("买了一张" + ticketService.getTicket());
    }
}
